﻿using ProTrack.Entity;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace ProTrack.IServices.Examine
{
    public interface IQcWayServices
    {
        public Task<IEnumerable<QcWay>> GetAllAsync();
        public Task<IEnumerable<QcWay>> GetAsync(int PageIndex, int PageSize, string InspectCode, string InspectName);
        public Task<int> GetCountAsync(string InspectCode, string InspectName);
        public Task<bool> UpdateAsync(QcWay model);
        public Task<bool> AddAsync(QcWay model);
        public Task<bool> DeleteAsync(int[] Ids);
        public Task<bool> DeleteAsync(int Id);


    }
}
